home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3sball.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  740 b   |  38 lines

  1.  
  2. // JavaScript wrapper for r3sball.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_SBALL_H = 1;
  7. include("real/raytr/r3surf.js")
  8.  
  9.  
  10. var R3CLID_SBALL = 407;
  11.  
  12.  
  13.  
  14.  
  15. R3SBALLA_Center = 407500;
  16. function SetR3SBALLA_Center(value) {
  17.   R3Set(this.r3obj, R3SBALLA_Center, value, R3TID_VECTOR, 0); 
  18. }
  19.  
  20. R3SBALLA_R = 407501;
  21. function SetR3SBALLA_R(value) {
  22.   R3Set(this.r3obj, R3SBALLA_R, value, R3TID_FLOAT, 0); 
  23. }
  24.  
  25.  
  26.  
  27. function r3Sball () { 
  28.    this.base = r3God;
  29.    if(arguments.length) {
  30.       this.base(R3CLID_SBALL, arguments);
  31.    }
  32.    // Attributes
  33.    this.SetCenter=SetR3SBALLA_Center;
  34.    this.SetR=SetR3SBALLA_R;
  35. }
  36.  
  37. r3Sball.prototype=new r3Surface;
  38. // r3sball.h_H